<?php

namespace App\Enums;

enum OrderFrom : string
{
    case Counter = 'counter';

    case System = 'system';

    case YouWuAPP = "YouWuAPP";

    case MiniAPP = "MiniAPP";

    public function label()
    {
        return match ($this)
        {
            self::Counter => '收银台',
            self::System => 'CRM后台',
            self::YouWuAPP => '尤物星球',
            self::MiniAPP => '小程序',
        };
    }
}
